package com.baosight.sczx.zm.ci.service;
import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.threadlocal.UserSession;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.common.zm.basetools.StaticTools;
import com.baosight.sczx.zm.ci.domain.ZMCIHistorypersoninfo;
/**
 * 下井人员历史查询
 */
public class ServiceZMCI61 extends ServiceEPBase {
	/**
	 * <p>Function: initLoad</p>
	 * <p>Description: 初始化</p> 
	 */
	@Override
	public EiInfo initLoad(EiInfo inInfo) {
		inInfo.addBlock(EiConstant.resultBlock).set("showCount", "true");//如果不加这个，翻页的统计和显示是错误的
		inInfo=this.query(inInfo);
		return inInfo;
	}
	
	/**
	 * 
	 * <p>Function: query</p>
	 * <p>Description: </p>
	 * <p>return value: ServiceZMCI60</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2017-3-22 00:08:17 李红星
	 * </p>
	 *
	 */
	@Override
	public EiInfo query(EiInfo inInfo) {
		EiInfo outInfo = new EiInfo();
		outInfo = super.query(inInfo, "ZMCIHistorypersoninfo.query", new ZMCIHistorypersoninfo());
		return outInfo;
	}
} 